import axios from '@/api/fetch';
import SERVER from '@/api/server';

export const retriveByControlright = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/order/repair/retriveByControlright`, { params });

// 提示信息
export const retriveByControl = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/order/repair/retriveByControl`, { params });
// 可参加活动
export const queryActivityValid = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/order/repair/queryActivityValid`, { params });
// 已参加活动
export const queryActivityResult = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/order/repair/queryActivityResult`, { params });
// 预约安排
export const queryBookingOrder = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/order/repair/queryBookingOrder`, { params });

// 出险信息 去掉林肯客制化功能
export const queryOccurInsuranceByLicenseOrVin = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/queryOccurInsuranceByLicenseOrVin`, { params });
// 新能源预警 去掉林肯客制化功能
export const newEnergyWarning = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/newEnergyWarning`, { params });
